const path = require('path');

module.exports = {
    assetsRoot: path.resolve(__dirname, '../build'),
    assetsDirectory: 'static',
    publicPath: '/',
    indexPath: path.resolve(__dirname, '../public/index.html'),
    productionJsSourceMap: false,
    enIndexPath: path.resolve(__dirname, '../public/en/index.html'),

    devServer: {
        contentBase: './',
        host: '0.0.0.0',
        disableHostCheck: true,
        useLocalIp: true,
        port: 5000,
        historyApiFallback: true,
        inline: true,
        hot: true,
        open: true,
        overlay: {
            errors: true,
            warnings: true,
        },
        watchOptions: {
            ignored: /node_modules/
        },
        proxy: {},
    }
};
